export function changeInputValue(ele, val) {
  ele.value = val;
  var event = document.createEvent('HTMLEvents');
  event.initEvent("input", true, true);
  event.eventType = 'message';
  ele.dispatchEvent(event);
}